package com.d3works.apps.purchase.service.print;

import com.d3works.apps.purchase.db.PurchaseOrder;
import com.d3works.exception.D3worksException;
import java.io.IOException;
import java.util.List;

public interface PurchaseOrderPrintService {

  /**
   * Print a purchase order
   *
   * @return ReportSettings
   * @throws IOException
   * @throws D3worksException
   */
  String printPurchaseOrders(List<Long> ids) throws IOException;

  String printPurchaseOrder(PurchaseOrder purchaseOrder, String formatPdf) throws D3worksException;

  String getFileName(PurchaseOrder purchaseOrder);
}
